﻿using Quartz;
using System.Diagnostics;
using System.Threading.Tasks;

namespace TiaoTiaoCode.QuartzUI.Jobs
{
    public class OpenBaiduJob : IJob
    {
        public Task Execute(IJobExecutionContext context)
        {
            return Task.Run(() => Process.Start(new ProcessStartInfo("cmd", "/c start http://www.baidu.com") { CreateNoWindow = true }));
        }
    }
}
